// Assignment replaced by comparison
let x;
if (x === 0) {
  const b = 1;
}

var x = 0; if (x == 0) { var b = 1; }

// if ((function(node) { return node = parentNode; })(someNode)) { }
//
// if ((node => node = parentNode)(someNode)) { }
//
// if (function(node) { return node = parentNode; }) { }

x = 0;

switch (foo) { case a = b: bar(); }

switch (foo) { case baz + (a = b): bar(); }
